
// 丢弃包裹物品 {"物品":4,"类型":"道具"}
// @ts-ignore
export async function execute(client_id,message_json) {
    let characters = G.Characters.get_current_login_characters(client_id);
    let index = message_json["物品"] - 1;
    let key = message_json["类型"];
    let item = characters[key][index];
    if(item){
        G.Characters.remove_item(characters["id"], key, index);
    }
}